package com.htgd.gardenexpo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lihailong
 * @date
 */
@Data
public class CurrentTaskVO {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "距离")
    private String distance;

    @ApiModelProperty(value = "时间（秒）")
    private Long time;

    @ApiModelProperty(value = "路线")
    private String line;

    @ApiModelProperty(value = "卡路里")
    private String calorie;

    @ApiModelProperty(value = "运动开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "运动结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "类型：1自由，2目标，3挑战")
    private String type;

    @ApiModelProperty(value = "目标跑类型 1时长 2公里")
    private String type1;

    private String goal;

    private String  complete;

    private String leisureId;
}
